package com.atguigu.edu.realtime.publisher.service.impl;

import com.atguigu.edu.realtime.publisher.bean.CourseReviewCnt;
import com.atguigu.edu.realtime.publisher.mapping.CourseReviewCountMapper;
import com.atguigu.edu.realtime.publisher.service.CourseReviewCountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CourseReviewCountServiceImpl implements CourseReviewCountService {
    @Autowired
    CourseReviewCountMapper courseReviewCountMapper;
    @Override
    public List<CourseReviewCnt> getRevUserCnt(Integer date) {
        return courseReviewCountMapper.selectRevUserCnt(date);
    }
}
